﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="EkejiWeb.Web.Login.Login" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta http-equiv="Pragma" content="no-cache" />
    <meta http-equiv="Cache-Control" content="no-cache" />
    <meta http-equiv="Expires" content="0" />
    <title>E科技工作室</title>
    <link href="../css/login.css" type="text/css" rel="stylesheet" />
    <script type="text/javascript">
        function changeCode() {
            var imgNode = document.getElementById("vimg");
            imgNode.src = "./WaterMark.ashx?t=" + (new Date()).valueOf();
        }
    </script>

</head>
<body>
    <form id="form1" runat="server">
        <div class="login">
            <div class="message">
                <img src="../images/logo.png" runat="server" class="imglogo"/>&nbsp;&nbsp;&nbsp;E科技工作室
            </div>
            <div id="darkbannerwrap"></div>
            <input name="action" runat="server" value="login" type="hidden" />
            <asp:TextBox ID="tbName" runat="server" Text="用户名" onfocus="this.value='';" onblur="if(this.value ==''){this.value ='用户名';}"></asp:TextBox>
            <hr class="hr15" />
            <asp:TextBox ID="tbPsw" runat="server" Text="密码" onfocus="this.value='';" onblur="if(this.value ==''){this.value ='密码';}" TextMode="Password"></asp:TextBox>
            <hr class="hr15" />
            <div>
                <table>
                    <tr>
                        <td>
                            <asp:DropDownList ID="ddlUser" runat="server">
                                <asp:ListItem Selected="True">会员</asp:ListItem>
                                <asp:ListItem>管理员</asp:ListItem>
                            </asp:DropDownList>
                        </td>
                        <td>
                            <asp:TextBox ID="txtCode" runat="server" TabIndex="3" Text="验证码" onfocus="this.value='';" onblur="if(this.value ==''){this.value ='验证码';}"></asp:TextBox>
                        </td>
                        <td>
                            <img src="./WaterMark.ashx" id="vimg" alt="" runat="server" onclick="changeCode()" />
                        </td>
                    </tr>
                </table>
            </div>
            <hr class="hr15" />
            <asp:CheckBox ID="cbPsw" runat="server" Text="记住密码" OnCheckedChanged="cbPsw_CheckedChanged" />
            <hr class="hr15" />
            <asp:Button ID="btnLogin" runat="server" Text="登录" OnClick="btnLogin_Click" />
            <hr class="hr20" />
            <div id="res">
                <a href="~/UserVip/UsrVip/Register.aspx" runat="server">注册会员</a>
            </div>
            <div id="backpwd">
                <a href="~/UserVip/UsrVip/BackPSW.aspx" runat="server">忘记密码</a>
            </div>
        </div>
    </form>
</body>
</html>
